package com.glzn.springboot03.entity;

/**
 * @author Lenovo
 */
public class Mqtt {
	private Integer id;

	private String productKey;

	private String deviceName;

	private String deviceSecret;

	private String regionId;

	private int timeout;

	private int keepalive;

	public Mqtt(Integer id, String productKey, String deviceName, String deviceSecret, String regionId, int timeout, int keepalive) {
		this.id = id;
		this.productKey = productKey;
		this.deviceName = deviceName;
		this.deviceSecret = deviceSecret;
		this.regionId = regionId;
		this.timeout = timeout;
		this.keepalive = keepalive;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProductKey() {
		return productKey;
	}

	public void setProductKey(String productKey) {
		this.productKey = productKey;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getDeviceSecret() {
		return deviceSecret;
	}

	public void setDeviceSecret(String deviceSecret) {
		this.deviceSecret = deviceSecret;
	}

	public String getRegionId() {
		return regionId;
	}

	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}

	public int getTimeout() {
		return timeout;
	}

	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	public int getKeepalive() {
		return keepalive;
	}

	public void setKeepalive(int keepalive) {
		this.keepalive = keepalive;
	}
}
